package com.cwj.designpatterns.factorymethod;

/**
 * @author chenwujie
 * @date 2021-03-16 09:54
 */
public class BananaFactory implements FruitFactory {
    @Override
    public Fruit createFruit() {
        return new Banana();
    }
}
